import { createAPI, createFormAPI } from '@/utils/request'

export const insertPigTransferNurseryRecords = data => createFormAPI('/admin/pigTransferNurseryRecords', 'post', data)
export const deletePigTransferNurseryRecords = data => createAPI(`/admin/pigTransferNurseryRecords/${data.id}`, 'delete', data)
export const updatePigTransferNurseryRecords = data => createAPI('/admin/pigTransferNurseryRecords', 'put', data)
export const selectPigTransferNurseryRecords = data => createAPI('/admin/pigTransferNurseryRecords', 'get' , data)
export const pigTransferNurseryRecordsNum=data =>createAPI('/admin/pigTransferNurseryRecordsNum',"get",data)
